package com.zframeworks.core.bean;

import java.util.Arrays;
import java.util.List;
import java.util.Map;

public class Message{
    private String zid;//主键
    private MessageType type; //消息类型
    private String from;//发送端
    private String to;//接收端
    private String time;//时间
    private String msg;//信息
    private List msg_list;//信息列表
    private Map msg_map;//信息集合

    public String getZid() {
        return zid;
    }

    public void setZid(String zid) {
        this.zid = zid;
    }

    public MessageType getType() {
        return type;
    }

    public void setType(MessageType type) {
        this.type = type;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List getMsg_list() {
        return msg_list;
    }

    public void setMsg_list(List msg_list) {
        this.msg_list = msg_list;
    }

    public Map getMsg_map() {
        return msg_map;
    }

    public void setMsg_map(Map msg_map) {
        this.msg_map = msg_map;
    }
}


